package com.cneport.das.common.model.trans;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.util.List;

/**
 * @Desc 附加信息对象
 * @Ver 1.0
 * @Author GavinZhang
 * @Company 东方物通科技有限（北京）公司
 * @Date 2021-12-20 16:58:08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@XmlRootElement(name = "addInfos")
@XmlAccessorType(XmlAccessType.FIELD)
public class AddInfos {

    private List<AddInfo> addInfo;

    @XmlType
    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
    public static class AddInfo {
        private String name;
        private String value;
    }
}
